package com.kymatrix.mpo.plus.bpm.server.convert.message;

import com.kymatrix.mpo.plus.system.api.dto.SendSmsToUserDto;
import java.util.Map;
import org.mapstruct.Mapper;

@Mapper
public class BpmMessageConvert {


    public static SendSmsToUserDto convert(String userId, String templateCode, Map<String, Object> templateParams) {
        SendSmsToUserDto dto = new SendSmsToUserDto();
        dto.setUserId(userId);
        dto.setTemplateCode(templateCode);
        dto.setTemplateParams(templateParams);
        return dto;
    }

}
